/**
 * 
 */
package base.cipher;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author Administrator
 *
 */
public class Test {
	static char [] key = "123456789ABCDEFGHIJKLMNPQRSTUVWXYZ".toCharArray();
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		try {
			Date date = simpleDateFormat.parse("2012-07-02");
			System.out.println(simpleDateFormat.format(date));;
		} catch (ParseException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

}
